﻿using Microsoft.AspNetCore.Mvc;
using SportsPlatform.Base;
using SportsPlatform.Dto.SportBusiness.CompetitionRuleInfo;
using SportsPlatform.Query.SportBusiness.CompetitionRuleInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.SportBusiness.ISportBusiness
{
    /// <summary>
    /// 
    /// </summary>
    public interface ICompetitionRuleInfoService
    {
        /// <summary>
        /// 列表查询
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<PagePagingDto<CompetitionRuleInfoListDto>> GetCompetitionRuleInfoList(GetCompetitionRuleInfoListQuery Query);
        /// <summary>
        /// 添加比赛规则信息
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<BaseResultDto> AddCompetitionRuleInfo(AddCompetitionRuleInfoQuery Query);
        /// <summary>
        /// 比赛规则信息详情
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<ResultDto<CompetitionRuleInfoDetailsDto>> CompetitionRuleInfoDetails(GetCompetitionRuleInfoDetailsQuery Query);
        /// <summary>
        /// 修改比赛规则信息
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<BaseResultDto> UpdateCompetitionRuleInfo(UpdateCompetitionRuleInfoQuery Query);
        /// <summary>
        /// 禁用启用比赛规则信息
        /// </summary>
        /// <param name="Query"></param>
        /// <returns></returns>
        Task<BaseResultDto> UpdateCompetitionRuleInfoEnableOrDisable(UpdateCompetitionRuleInfoEnableOrDisableQuery Query);
    }
}
